console.log("-".repeat(10) + "例1" + "-".repeat(10));
const values1 = Object.values({
  name: 'empty',
  age: 0
});
console.log(values1);
/*
  [ "empty", 0 ]
*/
console.log("-".repeat(10) + "例2" + "-".repeat(10));
const obj1 = {
  name: 'zg',
  age: 18,
  friends: ["lucy"],
};
const values2 = Object.values(obj1);
console.log(values2);
/*
  [ "zg", 18, ["lucy"] ]
*/
console.log("-".repeat(10) + "例3" + "-".repeat(10));
const values3 = Object.values(["123", {
  a: '1',
  b: '2'
}]);
console.log(values3);
/*
  [ "123", { "a": "1", "b": "2"} ]
*/
console.log("-".repeat(10) + "例4" + "-".repeat(10));
const values4 = Object.values("2386484");
console.log(values4);
/*
  [ "2", "3", "8", "6", "4", "8", "4" ]
*/
